﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using Entities;
using Utility;
using BUS;
public partial class Administrator_khachhang_ct : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            load_data();
        }
    }
    private void load_data()
    {
        int id = int.Parse(Request.QueryString["id"].ToString());
        Tbl_KhachHang_Entities kh = Tbl_KhachHang_BUS.GetByID(id);
        lit_stt.Text = kh.STT.ToString();
        lit_tdn.Text = kh.TaiKhoan;
        lit_mk.Text = kh.MatKhau;
        lit_hoten.Text = kh.HoTen;
        lit_dc.Text = kh.DiaChi;
        lit_sdt.Text = kh.SDT;
        lit_email.Text = kh.Email;
        lit_sodu.Text = kh.Sodutaikhoan.ToString();
    }
}
